﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace RM.WebClient
{
    public partial class MasterPage : UserControl
    {
        public MasterPage()
        {
            InitializeComponent();
        }
        
        private void GetCurrentTime(object sender, System.Windows.RoutedEventArgs e)
        {
            String sCurrTime = System.DateTime.Now.ToLongTimeString();
            lblCurrentTime.Content = sCurrTime;
        }        

        private void ChangeLogoutColor(object sender, System.Windows.Input.MouseEventArgs e)
        {
            Logout.Foreground = new SolidColorBrush(Color.FromArgb(255, 9, 38, 224));
        }

        private void RevertLogoutColor(object sender, System.Windows.Input.MouseEventArgs e)
        {
            Logout.Foreground = new SolidColorBrush(Color.FromArgb(255, 50, 50, 50));
        }
    }
}
